package com.lejin.order.controller;


import com.lejin.order.service.impl.CourseInfoServiceImpl;
import com.lejin.vo.ResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author luminghua
 * @since 2022-04-21
 */
@RestController
@RequestMapping("/order")
public class CourseInfoController {
    @Autowired
    private CourseInfoServiceImpl courseInfoService;
    @RequestMapping("/course-outline")
    public ResultVO selectCourseById(Integer outlineId) {
        return courseInfoService.selectCourseInfoById(outlineId);


    }

}
